/**
 * 登录api
 */

import { get,post } from '@/utils/request'

// 获取验证码图片
export const authCode = <T,P>(): Promise<T> => get<T,P>('/api/auth/authCode')
// 登录
export const checkloginByCode = <T,D>(data:D): Promise<T> => post<T,D>('/api/administrator/checkloginByCode',data)
